package dev.admin.service.impl;

import dev.admin.service.SysUserService;
import dev.admin.service.base.impl.LayuiServiceImpl;
import dev.common.entity.SysUser;
import org.springframework.stereotype.Service;

/**
 * @program: JoyDev
 * @description: 用户业务处理类
 * @author: MR.C
 * @create: 2018-02-07 17:00
 **/
@Service
public class SysUserServiceImpl extends LayuiServiceImpl<SysUser> implements SysUserService {

    @Override
    public boolean verifyData(SysUser sysUser) throws Exception{
        return verifyUnique(sysUser, "loginName", "登录名");
    }
}
